package com.zhbcm.treebuilder.common;

public enum CustomResponse
{
    SUCCESS(10000,"响应成功"),
    FAILURE(10001,"响应失败")
    ;
    private Integer code;
    private String msg;

    CustomResponse(Integer code, String msg)
    {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getMsg()
    {
        return msg;
    }
}
